import request from '../lib/request.js'

export function index(params){
	return request({url:'/api/admin/news/index',method:'get',params:params});
}
export function create(data){
	return request({url:'/api/admin/news/create',method:'post',data:data});
}
export function update(data){
	return request({url:'/api/admin/news/update',method:'post',data:data});
}
export function del(data){
	return request({url:'/api/admin/news/del',method:'post',data:data});
}
export function find(params){
	return request({url:'/api/admin/news/info',method:'get',params:params});
}